home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
kbdset.z
/
kbdset
Wrap
Text File
|
1998-10-20
|
13KB
|
198 lines
kkkkbbbbddddsssseeeetttt((((1111)))) kkkkbbbbddddsssseeeetttt((((1111))))
NNNNAAAAMMMMEEEE
_kkkk_bbbb_dddd_ssss_eeee_tttt - attach to _kkkk_bbbb_dddd mapping tables, set modes
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
_kkkk_bbbb_dddd_ssss_eeee_tttt [_----_oooo_qqqq] [_----_aaaa _t_a_b_l_e] [_----_vvvv _s_t_r_i_n_g] [_----_kkkk _h_o_t_k_e_y] [_----_mmmm _x] [_----_tttt _t_i_c_k_s]
_kkkk_bbbb_dddd_ssss_eeee_tttt [_----_oooo_qqqq] [_----_dddd _t_a_b_l_e] [_----_vvvv _s_t_r_i_n_g] [_----_kkkk _h_o_t_k_e_y] [_----_mmmm _x] [_----_tttt _t_i_c_k_s]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _kkkk_bbbb_dddd_ssss_eeee_tttt command is the normal user interface to the _kkkk_bbbb_dddd STREAMS
module. [See _kkkk_bbbb_dddd_cccc_oooo_mmmm_pppp(1M) and _kkkk_bbbb_dddd(7) for a general description of the
module's capabilities.] _kkkk_bbbb_dddd_ssss_eeee_tttt allows users to attach to pre-loaded
tables, detach from tables, and set options. Options are provided for
setting hot-keys to toggle tables and for controlling modes of the
module.
Arguments and options are scanned and acted on in command line order. If
the _----_oooo option is given, subsequent options affect the output side of the
stream, otherwise the input side is assumed.
The _----_qqqq option causes the _kkkk_bbbb_dddd_ssss_eeee_tttt command to list modules which can be
accessed by the invoking user. In this case all subsequent options are
ignored. The output from the _----_qqqq option lists the user's current hot-key
settings, current timer value, and for each available table an
identifier, the name, size, attachments (input and/or output sides),
reference count, number of components, and type (private or public). In
the following example, there is one composite table, two tables are
attached on the input side, and one on the output side.
_IIII_nnnn _HHHH_oooo_tttt _KKKK_eeee_yyyy _==== _^^^^_____
_TTTT_iiii_mmmm_eeee_rrrr_ssss_:::: _IIII_nnnn _==== _2222_0000 _;;;; _OOOO_uuuu_tttt _==== _2222_0000
_IIII_DDDD _NNNN_aaaa_mmmm_eeee _SSSS_iiii_zzzz_eeee _IIII_////_OOOO _RRRR_eeee_ffff _CCCC_mmmm_pppp _TTTT_yyyy_pppp_eeee
_4444_0000_3333_9999_ffff_3333_0000_0000 _UUUU_cccc_aaaa_ssss_eeee _5555_6666 _---- _oooo _1111 _---- _eeee_xxxx_tttt
_4444_0000_3333_aaaa_0000_4444_8888_0000 _CCCC_aaaa_ssss_eeee_////_DDDD_vvvv_oooo_rrrr_aaaa_kkkk _6666_8888 _---- _---- _0000 _2222 _pppp_rrrr_iiii
_[[[[_4444_0000_3333_9999_ffff_3333_0000_0000_]]]] _[[[[_4444_0000_3333_7777_eeee_4444_0000_0000_]]]]
_4444_0000_3333_6666_cccc_eeee_0000_0000 _DDDD_eeee_uuuu_tttt_ssss_cccc_hhhh_eeee _3333_3333_2222 _iiii _---- _4444 _---- _pppp_uuuu_bbbb
_4444_0000_3333_7777_eeee_4444_0000_0000 _DDDD_vvvv_oooo_rrrr_aaaa_kkkk _3333_1111_2222 _iiii _---- _2222 _---- _pppp_rrrr_iiii
The _IIII_DDDD field is an identifier unique to a given table (actually its
address in memory). Currently attached tables are marked _iiii or _oooo;
otherwise, the _IIII_////_OOOO fields are marked with a dash. _RRRR_eeee_ffff is a reference
count of attached users (including composites that refer to simple
tables) and if non-zero, indicates that the table is in use. _SSSS_iiii_zzzz_eeee is the
total size in bytes of the table and associated overhead in memory. If
the table is a composite table, the _CCCC_mmmm_pppp field contains a number instead
of a dash, and the following line lists an identifier for each component,
in order of processing (allowing identification of the components in a
composite table). Publicly available tables are marked with the type _pppp_uuuu_bbbb
and private tables with _pppp_rrrr_iiii. Private tables are available only to the
invoking user and within the current stream. Tables which are really
external functions [see _kkkk_bbbb_dddd(7)] are marked _eeee_xxxx_tttt; they are always of type
_pppp_uuuu_bbbb. Tables that are interpreted in timeout [see _kkkk_bbbb_dddd_cccc_oooo_mmmm_pppp(1M)] mode have
PPPPaaaaggggeeee 1111
kkkkbbbbddddsssseeeetttt((((1111)))) kkkkbbbbddddsssseeeetttt((((1111))))
an asterisk (_****) preceding the _TTTT_yyyy_pppp_eeee field; members of composite tables
that are interpreted in timeout mode have an asterisk after their
bracketed identifier (on the second output line). External functions are
never time-sensitive, unless by their own internal specifications.
The option _----_aaaa accompanied by an argument attaches to the named table. A
table may not be multiply attached by a single user. When a table is
attached and no other table is already attached, then the table is
automatically made current. The option _----_dddd detaches from the named table.
[See _kkkk_bbbb_dddd_llll_oooo_aaaa_dddd(1M) for a description of how tables are loaded.]
The _----_kkkk option sets the user's hot-key. Setting a hot-key with only a
single active table allows mapping to be toggled on and off, depending on
the hot-key mode. A hot-key is a single byte, typically set to a
relatively unused control character, that is caught by the _kkkk_bbbb_dddd module and
used for module control rather than being translated in any way. The key
used as a hot-key becomes unavailable for other uses (unless it is
generated by mapping). The hot-key may be reset at any time,
independently from other options. Note that _kkkk_bbbb_dddd_ssss_eeee_tttt does not interpret
^X-type sequences; it expects a literal hot-key character.
The _----_mmmm option with an integer argument controls the hot-key mode. Legal
modes are 0, 1 (the default), and 2. Mode 0 allows one to toggle through
the list of attached tables. Upon reaching the end of the list, the
cycle returns to the beginning of the list. Use of Mode 0 with only one
table loaded does not allow mapping to be turned off. Mode 1 toggles to
the unmapped state upon reaching the end of the list (for example, given
two tables, the sequence is table1, table2, off, table1, and so on).
Mode 2 toggles to the unmapped (or off) state between every table in the
list of attached tables (for example, given two tables, the sequence is
table1, off, table2, off, table1, and so on).
The _----_vvvv option turns on verbose mode, which can be useful when multiple
tables are used in interactive sessions. In verbose mode, the name of
the table can be output to the terminal whenever the user changes to a
new table with the hot-key. The string associated with the option can be
any short string. If the character sequence _%%%%_nnnn appears in the string,
the name of the current table (or a null string) will be substituted for
the _%%%%_nnnn. (A null argument to _----_vvvv is equivalent to terse mode.) One useful
sequence for this mode is _s_a_v_e-_c_u_r_s_o_r _g_o_t_o-_s_t_a_t_u_s-_l_i_n_e _c_l_e_a_r-_t_o-_e_n_d-_o_f-
_l_i_n_e _%%%%_nnnn _r_e_s_t_o_r_e-_c_u_r_s_o_r. This causes output of the current table name on
the terminal's status line; in absence of a status-line, a simple
sequence is to print the table name and RETURN [see _tttt_eeee_rrrr_mmmm_iiii_nnnn_ffff_oooo(4) for the
appropriate escape sequences.] Verbose mode is only available to show
input table status to the output side of the stream. The output string
for verbose mode is not itself passed through the mapping process, but is
transmitted directly downstream with no other interpretation (it should
thus be a string of ASCII characters or in some other externally
available code set).
PPPPaaaaggggeeee 2222
kkkkbbbbddddsssseeeetttt((((1111)))) kkkkbbbbddddsssseeeetttt((((1111))))
The _----_tttt option with an argument is used to change the timer for tables in
the stream that are interpreted in timeout mode. Values (in clock ticks)
between 5 and 400 are acceptable. (Depending on the hardware, the clock
is usually either 60Hz or 100Hz, thus one tick is either 1/60 or 1/100 of
a second; with a bit of experimentation, a suitable value for one's own
system and typing speed can be found.) When a table that uses timeout
mode is attached, it is assigned the current timer value. All tables
that are attached after setting the timer value will take on the new
value, but tables currently attached are unaffected (this allows one to
set different values for different tables). The option does not affect
other users' values. The timer value may be set independently for input
and output
sides by using _----_tttt in conjunction with _----_oooo. The value for a currently
attached table may be reset by detaching the table, setting the value,
then re-attaching the table.
In the query output, the line beginning with _TTTT_iiii_mmmm_eeee_rrrr_ssss_:::: shows the timer
values for input and output sides of the module.
FFFFIIIILLLLEEEESSSS
_////_uuuu_ssss_rrrr_////_llll_iiii_bbbb_////_kkkk_bbbb_dddd - directory containing system standard map files.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_aaaa_llll_pppp_qqqq(1), _kkkk_bbbb_dddd_cccc_oooo_mmmm_pppp(1M), _kkkk_bbbb_dddd_llll_oooo_aaaa_dddd(1M), _aaaa_llll_pppp(7), _kkkk_bbbb_dddd(7).
NNNNOOOOTTTTEEEESSSS
A table may be detached while it is current; however, in this case, it is
first made non-current; this allows error recovery under adverse
circumstances. Detachment of a current table is not affected by the
current hot-key mode, but always toggles to a state where no table is
current.
It is not possible with the _----_qqqq option to see the timer values assigned to
currently attached tables, nor to reset the value for a table that is
currently attached.
PPPPaaaaggggeeee 3333